package org.example.cgg.tools.excel;

import java.util.List;

public class Header {

    private String displayName;

    private String fieldName;

    private int width = 15;

    private String dateFormatPattern = "yyyy-MM-dd";

    private List<Header> children;

    public String getDisplayName() {
        return displayName;
    }

    public Header setDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }

    public String getFieldName() {
        return fieldName;
    }

    public Header setFieldName(String fieldName) {
        this.fieldName = fieldName;
        return this;
    }

    public int getWidth() {
        return width;
    }

    public Header setWidth(int width) {
        this.width = width;
        return this;
    }

    public List<Header> getChildren() {
        return children;
    }

    public Header setChildren(List<Header> children) {
        this.children = children;
        return this;
    }

    public String getDateFormatPattern() {
        return dateFormatPattern;
    }

    public Header setDateFormatPattern(String dateFormatPattern) {
        this.dateFormatPattern = dateFormatPattern;
        return this;
    }
}
